<template>
  <div>
    <PageHead />
    <ul>
      <li v-for="item in list" :key="item.id">
        <NuxtLink :to="item.to"> {{ item.title }} </NuxtLink>
      </li>
    </ul>
  </div>
</template>
<script setup lang="ts">
import news from "@/public/news";
let list = ref([]);
useSeoMeta({ title: "新闻" });
const { data } = await useFetch("/news.json");
list.value = data._rawValue?.ces;
console.log("!!!!!!", list);
</script>
